/* 
 * File:   XML.h
 * Author: joseluis
 *
 * Created on 7 de enero de 2013, 0:01
 */

#ifndef XML_H
#define	XML_H

#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>

#include "RCons.h"

using namespace std;

class XML {
public:

    XML();
    ~XML();

    void createXML(const vector< pair<string, float> > &question, vector<Rcons> entrys);

private:

    string file;

    string questionXML(const vector< pair<string, float> > &question);

    string documentoXML(vector<Rcons> entrys);

};

#endif	/* XML_H */

